# 将配置文件复制到/etc/nginx下
unalias cp # 默认cp命令是有别名(alias cp='cp -i')的,先临时取消可以强行覆盖文件
cp -r /home/shop/deploy/nginx/*  /etc/nginx
# 重启nginx
kill $(cat /run/nginx.pid)
sleep 0.3
nginx
